package com.dhcc.bpm.modules.sandbox.mapper;

import com.dhcc.bpm.modules.sandbox.entity.SandboxCase;
import com.dhcc.bpm.modules.sandbox.vo.SandboxCaseVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName SandboxCaseMapper
 * @Description 沙箱实例表 Mapper 接口
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface SandboxCaseMapper extends BaseMapper<SandboxCase> {

	/**
	 * @Description 自定义分页
	 * @Author sjm
	 * @Date 9:56 2020/2/22 0022
	 * @param page
	 * @param sandboxCase
	 * @return java.util.List<com.dhcc.bpm.modules.sandbox.vo.SandboxCaseVO>
	 **/
	List<SandboxCaseVO> selectSandboxCasePage(IPage page, SandboxCaseVO sandboxCase);

	/**
	 * @Description 沙箱查询
	 * @Author sjm
	 * @Date 9:58 2020/2/22 0022
	 * @param appId
	 * @return boolean
	 **/
	SandboxCase selectSandboxCaseByAppId(@Param("appId") Long appId);
}
